package org.jsbd.boss.service.impl;

import java.util.List;

import org.jsbd.boss.dao.IUserOptLogDAO;
import org.jsbd.boss.domian.UserOptLog;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 用户操作日志查询
 * 
 * @author <a href="mailto:zhangbinghua@zhexinit.com" >zbh</a>
 * @version 1.0.0
 */
@Service
public class UserOptService {
    public static final Logger LOGGER = LoggerFactory.getLogger(UserOptService.class);
    
    @Autowired
    private IUserOptLogDAO userOptLogDAO;
    
    public List<UserOptLog> getAllUserOpt(UserOptLog userOptLog){
    	return userOptLogDAO.select(userOptLog);
    }
    public int selectCount(UserOptLog userOptLog){
    	return userOptLogDAO.selectCount(userOptLog);
    }
	
}
